package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.RateSchemeCfg;
import com.fdb.efp.nls.service.vo.RateSchemeCfgVO;

import java.util.List;

/**
 * <p>DAO interface:利率方案配置表				<p>
 * @author fuzm
 * @date 2018-05-08
 */
public interface RateSchemeCfgDao {
	
	public int insertRateSchemeCfg(RateSchemeCfg rateSchemeCfg);
	
	public int deleteByPk(RateSchemeCfg rateSchemeCfg);
	
	public int updateByPk(RateSchemeCfg rateSchemeCfg);
	public int setStatusByPk(RateSchemeCfg rateSchemeCfg);
	public int queryPrdByPk(RateSchemeCfg rateSchemeCfg);

	public RateSchemeCfg queryByPk(RateSchemeCfg rateSchemeCfg);
	public List<RateSchemeCfg> queryAllValidByPage(RateSchemeCfgVO rateSchemeCfg);

	public List<RateSchemeCfg> queryAllOwnerByPage(RateSchemeCfgVO rateSchemeCfg);
	
	public List<RateSchemeCfg> queryAllCurrOrgByPage(RateSchemeCfgVO rateSchemeCfg);
	
	public List<RateSchemeCfg> queryAllCurrDownOrgByPage(RateSchemeCfgVO rateSchemeCfg);

}
